package snippets.cse524.activeDates;

import java.util.GregorianCalendar;

import org.apache.commons.lang3.StringEscapeUtils;
import org.jsoup.Jsoup;

import snippets.utils.Utils;

public abstract class SuccessionInfo {
	private String title;
	private int times;
	
	public SuccessionInfo(String title, int times) {
		super();
		this.title = Jsoup.parse(StringEscapeUtils.unescapeHtml4(title)).text();
		this.times = times;
	}

	public int getTimes() {
		return times;
	}
	
	public String getTitle() {
		return title;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return title;
	}
}
